python做中學(六)os.getcwd() 的用法 概述 os.getcwd() 方法用於返回當前工作目錄。 語法 getcwd()方法語法格式如下: os.getcwd() 參數 無 返回值 返回當前進程的工作目錄。 實例 ...